<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                         <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('inventory/wmskc/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <!--<a href="javascript:;" class="btn btn-success btn-upload  {:$auth->check('inventory/wmskc/import')?'':'hide'}" title="{:__('Importkc')}" ><i class="fa fa-upload"></i> {:__('Importkc')}</a>
                         -->
                         <a href="javascript:;" id="print-btn" class="btn btn-success {:$auth->check('inventory/wmskc/printlabel')?'':'hide'}" title="打印标签"  ><i class="fa fa-plus"></i>打印标签</a>
                        <a href="/down/库存模板.xls" class="btn btn-default btn-download  {:$auth->check('haidesen/wmskc/import')?'':'hide'}" title="{:__('download')}" ><i class="fa fa-download"></i> {:__('Kcmuban')}</a>
                        <a href="javascript:;" class="btn btn-info btn-import  {:$auth->check('haidesen/wmskc/import')?'':'hide'}" title="{:__('import')}" ><i class="fa fa-arrow-circle-o-up"></i> {:__('Importkc')}</a>
                        <a class="btn btn-success btn-to-export {:$auth->check('haidesen/wmskc/import')?'':'hide'}" href="javascript:void(0)"><i class="fa fa-download"></i> {:__('导出明细')}</a>
                        <!-- <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('inventory/kc/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('inventory/kc/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        
                        

                        <div class="dropdown btn-group {:$auth->check('inventory/kc/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
                            </ul>
                        </div>

                        <a class="btn btn-success btn-recyclebin btn-dialog {:$auth->check('inventory/kc/recyclebin')?'':'hide'}" href="inventory/kc/recyclebin" title="{:__('Recycle bin')}"><i class="fa fa-recycle"></i> {:__('Recycle bin')}</a> -->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('inventory/wmskc/edit')}"
                           data-operate-del="{:$auth->check('inventory/wmskc/del')}"
                           width="100%" data-show-export="false" data-show-toggle="false" data-show-columns="false">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>

<script> 
var whTypeArrList=<?php echo json_encode($whTypeArr); ?>; 
</script>